.media-object {
  display: block;
  width: 100%;
  height: 100%;
  float: left;
  padding: 0;
  margin: 0;

  img {
    object: {
      fit: cover;
      position: center center;
    }
    display: block;
    padding: 4px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 400px;

    &.gif {
      display: block;
      max-width: 100%;
      height: auto;
      padding: 4px;
      line-height: 1.42857143;
      background-color: #fff;
      border: 1px solid #ddd;
      border-radius: 4px;
    }
  }
}
